package gulimall.constant;

/**
 * 认证服务器相关常量
 *
 * @author HLF
 * @date 2022/7/31 16:40
 */
public class AuthServerConstant {

    /**
     * 短信验证码缓存前缀
     */
    public static final String SMS_CODE_CACHE_PREFIX = "sms:code:";

    /**
     * 邮箱验证码缓存前缀
     */
    public static final String MAIL_CODE_CACHE_PREFIX = "mail:code:";


    /**
     * 登录成功后session中用户对应的key
     */
    public static final String LOGIN_USER = "member";


}
